package org.db2.project.airline.model;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import java.io.Serializable;


/**
 * The persistent class for the AIRPLANE database table.
 */
@Entity
public class Airplane implements Serializable {
    private static final long serialVersionUID = 1L;

    @Id
    @SequenceGenerator(name = "AIRPLANE_ID_GENERATOR", sequenceName = "AIRPLANE_SEQ")
    @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "AIRPLANE_ID_GENERATOR")
    private long id;

    private long capacity;

    private long flightSpeed;

    private long minmalRunwayLength;

    private long minmalRunwayWidth;

    private String model;

    private long operational;

    private long range;

    private long seats;

    private long seatsInRaw;

    private long seatsNumberOfRaws;

    public Airplane() {
    }

    public long getId() {
        return this.id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public long getCapacity() {
        return this.capacity;
    }

    public void setCapacity(long capacity) {
        this.capacity = capacity;
    }

    public long getFlightSpeed() {
        return this.flightSpeed;
    }

    public void setFlightSpeed(long flightSpeed) {
        this.flightSpeed = flightSpeed;
    }

    public long getMinmalRunwayLength() {
        return this.minmalRunwayLength;
    }

    public void setMinmalRunwayLength(long minmalRunwayLength) {
        this.minmalRunwayLength = minmalRunwayLength;
    }

    public long getMinmalRunwayWidth() {
        return this.minmalRunwayWidth;
    }

    public void setMinmalRunwayWidth(long minmalRunwayWidth) {
        this.minmalRunwayWidth = minmalRunwayWidth;
    }

    public String getModel() {
        return this.model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public long getOperational() {
        return this.operational;
    }

    public void setOperational(long operational) {
        this.operational = operational;
    }

    public long getRange() {
        return this.range;
    }

    public void setRange(long range) {
        this.range = range;
    }

    public long getSeats() {
        return this.seats;
    }

    public void setSeats(long seats) {
        this.seats = seats;
    }

    public long getSeatsInRaw() {
        return this.seatsInRaw;
    }

    public void setSeatsInRaw(long seatsInRaw) {
        this.seatsInRaw = seatsInRaw;
    }

    public long getSeatsNumberOfRaws() {
        return this.seatsNumberOfRaws;
    }

    public void setSeatsNumberOfRaws(long seatsNumberOfRaws) {
        this.seatsNumberOfRaws = seatsNumberOfRaws;
    }
}